package org.easydev.base.webbase.bo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

@Schema(description = "分页参数")
@Data
public class PageParam implements Serializable {
    @Serial
    private static final long serialVersionUID = 493742724032177390L;

    @Schema(description = "页码，必须设置。从1开始", defaultValue = "1")
    Long pageNo = 1L;

    @Schema(description = "每页数量，必须设置。不得大于2000", defaultValue = "20")
    Long pageSize = 20L;
}
